package com.lhn.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * @author lhn
 * @date 2024-08-19 13:43
 * 用于配置类
 */

@Configuration  //等同于 <beans></beans>
@ComponentScan("com.lhn")   //等同于 <context:component-scan base-package="com.lhn"/>
@PropertySource("classpath:jdbc.properties")    //用于加载配置文件
public class SpringConfig {

}
